//
//  MQSocietyHeadModel.m
//  MQ
//
//  Created by lanou on 15/10/26.
//  Copyright © 2015年 徐永祥. All rights reserved.
//

#import "MQSocietyHeadModel.h"

@implementation MQSocietyHeadModel
-(instancetype)init
{
    self = [super init];
    if (self ) {
        _memberItem = [[MQMemberItem alloc]init];
    }
    return self;
}

-(void)setValue:(id)value forKey:(NSString *)key
{

    if ([key isEqualToString:@"id"]) {
        self.ID = value;
    }
    else if ([key isEqualToString:@"memberItem"])
    {
    
        [self.memberItem setValuesForKeysWithDictionary:value];
        
    }
    else
    {
        [super setValue:value forKey:key];
    }
    
    
}


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{

}

@end
